﻿using System;


namespace CapstoneProjectAEReader.Common.Exceptions
{
    public class AeException : Exception
    {
        #region Attributes

        private int _code;
        private string _message;
        private Exception _inner;

        #endregion

        #region Methods

        public AeException(int errCode)            
        {
            _code = errCode;
        }

        public AeException(int errCode, string message)
        {
            _code = errCode;
            _message = message;
        }
        
        public AeException(int errCode,string message , Exception innerException)            
        {
            _code = errCode;
            _message = message;
            _inner = innerException;
        }       

        #endregion
    }
}
